//
//  BsCollectionViewCell.m
//  Demo
//
//  Created by colawh on 2019/3/16.
//  Copyright © 2019年 colawhdfws. All rights reserved.
//

#import "BsCollectionViewCell.h"
#import <Masonry/Masonry.h>
@implementation BsCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    if ([super initWithFrame:frame]) {
        [self configUI];
    }
    return self;
}

- (void)configUI{
    [self.contentView addSubview:self.textLb];
    [_textLb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView);
    }];
}

- (UILabel *)textLb{
    if (!_textLb) {
        _textLb = [DemoHelp getLbByFont:14];
        _textLb.textAlignment = NSTextAlignmentCenter;
    }
    return _textLb;
}

@end
